#include <stdio.h>

int main(void)
{
	int sum = 0, i = 0;

	for (i = 0; i <= 100; i++)
		sum = sum + i;

	return 0;
}

#if 0

/*
 * intel
 */
0000000000001129 <main>:
    1129:	f3 0f 1e fa          	endbr64 
    112d:	55                   	push   %rbp
    112e:	48 89 e5             	mov    %rsp,%rbp
    1131:	c7 45 f8 00 00 00 00 	movl   $0x0,-0x8(%rbp)	// (rbp-0x8)=0
    1138:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%rbp)	// (rbp-0x4)=0
    113f:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%rbp)	// (rbp-0x4)=0
    1146:	eb 0a                	jmp    1152 <main+0x29>	// jump
    1148:	8b 45 fc             	mov    -0x4(%rbp),%eax	// eax=(rbp-0x4)
    114b:	01 45 f8             	add    %eax,-0x8(%rbp)	// (rbp-0x8)+=eax
    114e:	83 45 fc 01          	addl   $0x1,-0x4(%rbp)	// (rbp-0x4)+=0x1
    1152:	83 7d fc 64          	cmpl   $0x64,-0x4(%rbp)	// (rbp-0x4)-0x64
    1156:	7e f0                	jle    1148 <main+0x1f>	// <= jump
    1158:	b8 00 00 00 00       	mov    $0x0,%eax
    115d:	5d                   	pop    %rbp
    115e:	c3                   	retq   
    115f:	90                   	nop

/*
 * arm
 */
000000000040051c <main>:
  40051c:	d10043ff 	sub	sp, sp, #0x10
  400520:	b9000fff 	str	wzr, [sp, #12]	// [sp+12]=0
  400524:	b9000bff 	str	wzr, [sp, #8]	// [sp+8]=0
  400528:	b9000bff 	str	wzr, [sp, #8]	// [sp+8]=0
  40052c:	14000008 	b	40054c <main+0x30>
  400530:	b9400fe1 	ldr	w1, [sp, #12]	// w1=[sp+12]
  400534:	b9400be0 	ldr	w0, [sp, #8]	// w0=[sp+8]
  400538:	0b000020 	add	w0, w1, w0	// w0=w1+w0
  40053c:	b9000fe0 	str	w0, [sp, #12]	// [sp+12]=w0
  400540:	b9400be0 	ldr	w0, [sp, #8]	// w0=[sp+8]
  400544:	11000400 	add	w0, w0, #0x1	// w0=w0+0x1
  400548:	b9000be0 	str	w0, [sp, #8]	// [sp+8]=w0
  40054c:	b9400be0 	ldr	w0, [sp, #8]	// w0=[sp+8]
  400550:	7101901f 	cmp	w0, #0x64	// w0-0x64
  400554:	54fffeed 	b.le	400530 <main+0x14>
  400558:	52800000 	mov	w0, #0x0                   	// #0
  40055c:	910043ff 	add	sp, sp, #0x10
  400560:	d65f03c0 	ret
  400564:	00000000 	.inst	0x00000000 ; undefined

#endif
